﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace test.demo.Model.DV
{
		/// <summary>
		/// 设备点检保养计划表模型类
		/// </summary>
		public class DV_Check_Plan : Entity<int>
		{
				/// <summary>
				/// 计划编号
				/// </summary>
				public string PlanCode { get; set; } = string.Empty;

				/// <summary>
				/// 计划名称
				/// </summary>
				public string PlanName { get; set; } = string.Empty;

				/// <summary>
				/// 计划类型（CHECK：点检；MAINTEN：保养）
				/// </summary>
				public string PlanType { get; set; } = string.Empty;

				/// <summary>
				/// 开始日期
				/// </summary>
				public DateTime? StartDate { get; set; }

				/// <summary>
				/// 结束日期
				/// </summary>
				public DateTime? EndDate { get; set; }

				/// <summary>
				/// 频率类型
				/// </summary>
				public string CycleType { get; set; } = string.Empty;

				/// <summary>
				/// 频率值
				/// </summary>
				public int CycleCount { get; set; }

				/// <summary>
				/// 状态（PREPARE：草稿；APPROVING：审核中；FINISHED：已完成；CONFIRMED：已确认）
				/// </summary>
				public string? Status { get; set; } = string.Empty;

				/// <summary>
				/// 备注
				/// </summary>
				public string? Remark { get; set; } = string.Empty;

				/// <summary>
				/// 创建人
				/// </summary>
				public string? CreateBy { get; set; } = string.Empty;

				/// <summary>
				/// 创建时间
				/// </summary>
				public DateTime? CreateTime { get; set; }

				/// <summary>
				/// 更新人
				/// </summary>
				public string? UpdateBy { get; set; } = string.Empty;

				/// <summary>
				/// 更新时间
				/// </summary>
				public DateTime? UpdateTime { get; set; }
		}
}

